package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.News;
import cn.wolfcode.trip.base.domain.NewsContent;
import cn.wolfcode.trip.base.query.NewsQueryObject;
import com.github.pagehelper.PageInfo;

public interface INewsService {
    PageInfo<News> queryForlist(NewsQueryObject qo);

    void save(News news);

    void update(News news);


    NewsContent getNewsContentById(Long id);

    void changeState(News news);
}
